package com.example.messagemodule.entity;

import java.util.List;

public class NotReadMessageCountEntity {


    /**
     * code : 200
     * message : null
     * data : [{"message":{"passportIds":null,"passportId":174186184704001,"read":"0","msgType":"4","status":"3","rowKey":"100407481681471_0_9223370405267492888","resourceId":178723186540545,"title":"文章添加","ticker":"文章添加","text":"测试知啊越好","resourceType":0,"imgUrl":"","editor":"测试编辑","editorUrl":"https://imageserver.yilijk.com/crmProc/20200909/15220907911073.png","pushTime":1631587282919},"count":0,"type":4}]
     */

    private int code;
    private Object message;
    /**
     * message : {"passportIds":null,"passportId":174186184704001,"read":"0","msgType":"4","status":"3","rowKey":"100407481681471_0_9223370405267492888","resourceId":178723186540545,"title":"文章添加","ticker":"文章添加","text":"测试知啊越好","resourceType":0,"imgUrl":"","editor":"测试编辑","editorUrl":"https://imageserver.yilijk.com/crmProc/20200909/15220907911073.png","pushTime":1631587282919}
     * count : 0
     * type : 4
     */

    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * passportIds : null
         * passportId : 174186184704001
         * read : 0
         * msgType : 4
         * status : 3
         * rowKey : 100407481681471_0_9223370405267492888
         * resourceId : 178723186540545
         * title : 文章添加
         * ticker : 文章添加
         * text : 测试知啊越好
         * resourceType : 0
         * imgUrl :
         * editor : 测试编辑
         * editorUrl : https://imageserver.yilijk.com/crmProc/20200909/15220907911073.png
         * pushTime : 1631587282919
         */

        private MessageBean message;
        private int count;
        private int type;

        public MessageBean getMessage() {
            return message;
        }

        public void setMessage(MessageBean message) {
            this.message = message;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public static class MessageBean {
            private Object passportIds;
            private long passportId;
            private String read;
            private String msgType;
            private String status;
            private String rowKey;
            private long resourceId;
            private String title;
            private String ticker;
            private String text;
            private int resourceType;
            private String imgUrl;
            private String editor;
            private String editorUrl;
            private long pushTime;

            public Object getPassportIds() {
                return passportIds;
            }

            public void setPassportIds(Object passportIds) {
                this.passportIds = passportIds;
            }

            public long getPassportId() {
                return passportId;
            }

            public void setPassportId(long passportId) {
                this.passportId = passportId;
            }

            public String getRead() {
                return read;
            }

            public void setRead(String read) {
                this.read = read;
            }

            public String getMsgType() {
                return msgType;
            }

            public void setMsgType(String msgType) {
                this.msgType = msgType;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getRowKey() {
                return rowKey;
            }

            public void setRowKey(String rowKey) {
                this.rowKey = rowKey;
            }

            public long getResourceId() {
                return resourceId;
            }

            public void setResourceId(long resourceId) {
                this.resourceId = resourceId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTicker() {
                return ticker;
            }

            public void setTicker(String ticker) {
                this.ticker = ticker;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public int getResourceType() {
                return resourceType;
            }

            public void setResourceType(int resourceType) {
                this.resourceType = resourceType;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }

            public String getEditor() {
                return editor;
            }

            public void setEditor(String editor) {
                this.editor = editor;
            }

            public String getEditorUrl() {
                return editorUrl;
            }

            public void setEditorUrl(String editorUrl) {
                this.editorUrl = editorUrl;
            }

            public long getPushTime() {
                return pushTime;
            }

            public void setPushTime(long pushTime) {
                this.pushTime = pushTime;
            }
        }
    }
}
